Learn R Programming

boostrq (version 1.0.0)

[.boostrq: Updating number of iterations

Description

Updating number of iterations

Usage

# S3 method for boostrq
[(x, i, return = TRUE, ...)

Value

a boostrq object with the updated number of iterations

Arguments

x

a boostrq object

i

desired number of boosting iterations

return

TRUE, if the result should be returned

...

additional arguments passed to callies

Examples

Run this code
boosted.rq <-
boostrq(
 formula = mpg ~ brq(cyl * hp) + brq(am + wt),
 data = mtcars,
 mstop = 200,
 nu = 0.1,
 tau = 0.5
)

boosted.rq[500]

Run the code above in your browser using DataLab